package com.qianfeng.rencai.mapper;

import com.qianfeng.rencai.pojo.SysUser;
import org.apache.ibatis.annotations.Select;

/**
 * Created by wenka on 2022/3/30 15:14
 *
 * @author wenkaixin
 * @version 1.0
 * @since 1.0
 */
public interface SysUserMapper {
    /**
     * 根据用户名查询
     * @param username
     * @return
     */
    @Select("SELECT * FROM sys_user WHERE username=#{username}")
 SysUser findByUserName(String username);
}
